#ifndef __SERVER_H__
#define __SERVER_H__

#include <string>
#include <mensajes.h>
#include <ColaMsg.h>
#include <RequestHandler.h>
#include <Logger.h>

class Server {
	ColaMsg cola;
	bool isActive;
	mensaje_st buffer;
	RequestHandler *c;
	Logger* log;

public:
	Server();
	~Server();
	bool active();
	void init();
	void run();
	void end();
	void setActive(bool active){ isActive=active; }
};

#endif /* __SERVER_H__ */
